/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package model;

import java.io.Serializable;
import javax.persistence.*;
import javax.persistence.Entity;

/**
 *
 * @author Marvin Hiemstra
 */
@Entity
@Table(name = "Payment")
public class Payment implements Serializable {
    
    PaymentPK primaryKey;
 
    public Payment() {
    }

   
 
    
    @EmbeddedId
    public PaymentPK getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(PaymentPK primaryKey) {
        this.primaryKey = primaryKey;
    }

    public Payment(PaymentPK primaryKey) {
        this.primaryKey = primaryKey;
    }
    
}
